BlockMessage{ }
BlockMessage{ }
writeImpl{
  buffer.writeInt(pieceIndex);
  buffer.writeInt(begin);
  buffer.writeBytes(data);
}
readImpl{
  pieceIndex=buffer.readInt();
  begin=buffer.readInt();
  data=buffer.readBytes(buffer.readableBytes()).toByteBuffer();
}
toString{ }
